package com.oa.srms.apps.business.staff;

import java.util.List;

import com.oa.srms.apps.entity.staff.StaffInfoValue;

public interface IStaffInfoService {

	public StaffInfoValue  verifyStaffInfo(String staffNo, String staffPwd) throws Exception;
	
	public Boolean verifyStaffNo(String staffNo) throws Exception;
	
	public Integer add(String staffNo, String staffName, String staffPwd, Integer postId) throws Exception;
	
	public void modify(Integer staffId, String staffName, String staffPwd, Integer postId) throws Exception;
	
	public void delete(Integer staffId) throws Exception;
	
	public void toEnable(Integer staffId) throws Exception;
	
	public void toDisable(Integer staffId) throws Exception;
	
	public StaffInfoValue queryByStaffId(Integer staffId) throws Exception;
	
	public List<StaffInfoValue> queryStaffInfo(String staffName, Integer postId, Integer states, Integer rows, Integer pageNo) throws Exception;
	
	public Integer getTotalPageNumber(String staffName, Integer postId, Integer states, Integer rows) throws Exception;
	
	public Integer getTotatNumber();
	
}
